package com.zx.designpattern.model.impl;

import com.zx.designpattern.model.IBaseModel;

import java.util.ArrayList;
import java.util.List;

/**
 * @作者 Administrator
 * @创建时间 2018-02-03 22:11
 * @描述 model实现层
 * @修改时间 2018-02-03 22:11
 * @修改描述
 * @修改者 Administrator
 **/
public class GirlModelImpl implements IBaseModel {
    @Override
    public void loadData(CallBack mCallBack) {
        List list = new ArrayList();
        for (int i = 0; i < 10; i++) {
            list.add("" + i);
        }
        mCallBack.success(list);
    }

    @Override
    public void loadData(int code, CallBack mCallBack) {
    }

    @Override
    public   void postData(Object data, CallBack mCallBack) {

    }

    @Override
    public  void postData(int code, Object data, CallBack mCallBack) {

    }
}
